package cn.xny.txcc.feignclients;


import cn.xny.txcc.domain.Login;
import cn.xny.txcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient("service-uaa")
public interface UaaFeignClient {



    @PostMapping("login/register")
     JSONResult register(@RequestBody Login login);
}
